const _import = require('./_import_' + process.env.NODE_ENV)
const Home=_import('home/home');
const MapSign=_import('mapSign/mapSign');
const SaveInfo=_import('saveInfo/saveInfo');


const routes=[
    {path: '/', redirect: '/home'},
    {
        path: '/home',
        name: 'home',
        component: Home,
        meta: {
            keepAlive: true //需要被缓存的组件
        },
    },
    
    {
        path: '/mapSign',
        name: 'mapSign',
        component: MapSign
    },
    {
        path: '/saveInfo',
        name: 'saveInfo',
        component: SaveInfo
    },
   
];

export default routes


